from django.core.files.storage import Storage
from django.conf import settings


class FastDFSStorage(Storage):
    def open(self,name,mode='rb'):
        return None

    def save(self,name,content,max_length=None):
        pass

    def url(self,name):
        return settings.FDFS_URL + name